/*
 * An XML document type.
 * Localname: event
 * Namespace: urn:jbpm.org:jpdl-3.2
 * Java type: x2.orgJpdl3.jbpm.EventDocument
 *
 * Automatically generated - do not modify.
 */
package x2.orgJpdl3.jbpm;


/**
 * A document containing one event(@urn:jbpm.org:jpdl-3.2) element.
 *
 * This is a complex type.
 */
public interface EventDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EventDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("eventbc1fdoctype");
    
    /**
     * Gets the "event" element
     */
    x2.orgJpdl3.jbpm.EventDocument.Event getEvent();
    
    /**
     * Sets the "event" element
     */
    void setEvent(x2.orgJpdl3.jbpm.EventDocument.Event event);
    
    /**
     * Appends and returns a new empty "event" element
     */
    x2.orgJpdl3.jbpm.EventDocument.Event addNewEvent();
    
    /**
     * An XML event(@urn:jbpm.org:jpdl-3.2).
     *
     * This is a complex type.
     */
    public interface Event extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Event.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("eventb6a5elemtype");
        
        /**
         * Gets a List of "action" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ActionDocument.Action> getActionList();
        
        /**
         * Gets array of all "action" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action[] getActionArray();
        
        /**
         * Gets ith "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action getActionArray(int i);
        
        /**
         * Returns number of "action" element
         */
        int sizeOfActionArray();
        
        /**
         * Sets array of all "action" element
         */
        void setActionArray(x2.orgJpdl3.jbpm.ActionDocument.Action[] actionArray);
        
        /**
         * Sets ith "action" element
         */
        void setActionArray(int i, x2.orgJpdl3.jbpm.ActionDocument.Action action);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action insertNewAction(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action addNewAction();
        
        /**
         * Removes the ith "action" element
         */
        void removeAction(int i);
        
        /**
         * Gets a List of "script" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ScriptDocument.Script> getScriptList();
        
        /**
         * Gets array of all "script" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script[] getScriptArray();
        
        /**
         * Gets ith "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script getScriptArray(int i);
        
        /**
         * Returns number of "script" element
         */
        int sizeOfScriptArray();
        
        /**
         * Sets array of all "script" element
         */
        void setScriptArray(x2.orgJpdl3.jbpm.ScriptDocument.Script[] scriptArray);
        
        /**
         * Sets ith "script" element
         */
        void setScriptArray(int i, x2.orgJpdl3.jbpm.ScriptDocument.Script script);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script insertNewScript(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script addNewScript();
        
        /**
         * Removes the ith "script" element
         */
        void removeScript(int i);
        
        /**
         * Gets a List of "create-timer" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer> getCreateTimerList();
        
        /**
         * Gets array of all "create-timer" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer[] getCreateTimerArray();
        
        /**
         * Gets ith "create-timer" element
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer getCreateTimerArray(int i);
        
        /**
         * Returns number of "create-timer" element
         */
        int sizeOfCreateTimerArray();
        
        /**
         * Sets array of all "create-timer" element
         */
        void setCreateTimerArray(x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer[] createTimerArray);
        
        /**
         * Sets ith "create-timer" element
         */
        void setCreateTimerArray(int i, x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer createTimer);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "create-timer" element
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer insertNewCreateTimer(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "create-timer" element
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer addNewCreateTimer();
        
        /**
         * Removes the ith "create-timer" element
         */
        void removeCreateTimer(int i);
        
        /**
         * Gets a List of "cancel-timer" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer> getCancelTimerList();
        
        /**
         * Gets array of all "cancel-timer" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer[] getCancelTimerArray();
        
        /**
         * Gets ith "cancel-timer" element
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer getCancelTimerArray(int i);
        
        /**
         * Returns number of "cancel-timer" element
         */
        int sizeOfCancelTimerArray();
        
        /**
         * Sets array of all "cancel-timer" element
         */
        void setCancelTimerArray(x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer[] cancelTimerArray);
        
        /**
         * Sets ith "cancel-timer" element
         */
        void setCancelTimerArray(int i, x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer cancelTimer);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "cancel-timer" element
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer insertNewCancelTimer(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "cancel-timer" element
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer addNewCancelTimer();
        
        /**
         * Removes the ith "cancel-timer" element
         */
        void removeCancelTimer(int i);
        
        /**
         * Gets a List of "mail" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.MailDocument.Mail> getMailList();
        
        /**
         * Gets array of all "mail" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail[] getMailArray();
        
        /**
         * Gets ith "mail" element
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail getMailArray(int i);
        
        /**
         * Returns number of "mail" element
         */
        int sizeOfMailArray();
        
        /**
         * Sets array of all "mail" element
         */
        void setMailArray(x2.orgJpdl3.jbpm.MailDocument.Mail[] mailArray);
        
        /**
         * Sets ith "mail" element
         */
        void setMailArray(int i, x2.orgJpdl3.jbpm.MailDocument.Mail mail);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "mail" element
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail insertNewMail(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "mail" element
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail addNewMail();
        
        /**
         * Removes the ith "mail" element
         */
        void removeMail(int i);
        
        /**
         * Gets the "type" attribute
         */
        java.lang.String getType();
        
        /**
         * Gets (as xml) the "type" attribute
         */
        x2.orgJpdl3.jbpm.EventDocument.Event.Type xgetType();
        
        /**
         * Sets the "type" attribute
         */
        void setType(java.lang.String type);
        
        /**
         * Sets (as xml) the "type" attribute
         */
        void xsetType(x2.orgJpdl3.jbpm.EventDocument.Event.Type type);
        
        /**
         * An XML type(@).
         *
         * This is a union type. Instances are of one of the following types:
         *     x2.orgJpdl3.jbpm.EventDocument$Event$Type$Member
         *     x2.orgJpdl3.jbpm.EventDocument$Event$Type$Member2
         */
        public interface Type extends org.apache.xmlbeans.XmlAnySimpleType
        {
            java.lang.Object getObjectValue();
            void setObjectValue(java.lang.Object val);
            /** @deprecated */
            java.lang.Object objectValue();
            /** @deprecated */
            void objectSet(java.lang.Object val);
            org.apache.xmlbeans.SchemaType instanceType();
            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Type.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("type0c7fattrtype");
            
            /**
             * An anonymous inner XML type.
             *
             * This is an atomic type that is a restriction of x2.orgJpdl3.jbpm.EventDocument$Event$Type$Member.
             */
            public interface Member extends org.apache.xmlbeans.XmlString
            {
                public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                    org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Member.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("anon2bfatype");
                
                /**
                 * A factory class with static methods for creating instances
                 * of this type.
                 */
                
                public static final class Factory
                {
                    public static x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member newValue(java.lang.Object obj) {
                      return (x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member) type.newValue( obj ); }
                    
                    public static x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member newInstance() {
                      return (x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                    
                    public static x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member newInstance(org.apache.xmlbeans.XmlOptions options) {
                      return (x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
                    
                    private Factory() { } // No instance of this class allowed
                }
            }
            
            /**
             * An anonymous inner XML type.
             *
             * This is an atomic type that is a restriction of x2.orgJpdl3.jbpm.EventDocument$Event$Type$Member2.
             */
            public interface Member2 extends org.apache.xmlbeans.XmlString
            {
                public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                    org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Member2.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("anonb999type");
                
                org.apache.xmlbeans.StringEnumAbstractBase enumValue();
                void set(org.apache.xmlbeans.StringEnumAbstractBase e);
                
                static final Enum NODE_ENTER = Enum.forString("node-enter");
                static final Enum NODE_LEAVE = Enum.forString("node-leave");
                static final Enum PROCESS_START = Enum.forString("process-start");
                static final Enum PROCESS_END = Enum.forString("process-end");
                static final Enum TASK_CREATE = Enum.forString("task-create");
                static final Enum TASK_ASSIGN = Enum.forString("task-assign");
                static final Enum TASK_START = Enum.forString("task-start");
                static final Enum TASK_END = Enum.forString("task-end");
                static final Enum BEFORE_SIGNAL = Enum.forString("before-signal");
                static final Enum AFTER_SIGNAL = Enum.forString("after-signal");
                static final Enum SUPERSTATE_ENTER = Enum.forString("superstate-enter");
                static final Enum SUPERSTATE_LEAVE = Enum.forString("superstate-leave");
                static final Enum TIMER_CREATE = Enum.forString("timer-create");
                static final Enum SUBPROCESS_CREATED = Enum.forString("subprocess-created");
                static final Enum SUBPROCESS_END = Enum.forString("subprocess-end");
                
                static final int INT_NODE_ENTER = Enum.INT_NODE_ENTER;
                static final int INT_NODE_LEAVE = Enum.INT_NODE_LEAVE;
                static final int INT_PROCESS_START = Enum.INT_PROCESS_START;
                static final int INT_PROCESS_END = Enum.INT_PROCESS_END;
                static final int INT_TASK_CREATE = Enum.INT_TASK_CREATE;
                static final int INT_TASK_ASSIGN = Enum.INT_TASK_ASSIGN;
                static final int INT_TASK_START = Enum.INT_TASK_START;
                static final int INT_TASK_END = Enum.INT_TASK_END;
                static final int INT_BEFORE_SIGNAL = Enum.INT_BEFORE_SIGNAL;
                static final int INT_AFTER_SIGNAL = Enum.INT_AFTER_SIGNAL;
                static final int INT_SUPERSTATE_ENTER = Enum.INT_SUPERSTATE_ENTER;
                static final int INT_SUPERSTATE_LEAVE = Enum.INT_SUPERSTATE_LEAVE;
                static final int INT_TIMER_CREATE = Enum.INT_TIMER_CREATE;
                static final int INT_SUBPROCESS_CREATED = Enum.INT_SUBPROCESS_CREATED;
                static final int INT_SUBPROCESS_END = Enum.INT_SUBPROCESS_END;
                
                /**
                 * Enumeration value class for x2.orgJpdl3.jbpm.EventDocument$Event$Type$Member2.
                 * These enum values can be used as follows:
                 * <pre>
                 * enum.toString(); // returns the string value of the enum
                 * enum.intValue(); // returns an int value, useful for switches
                 * // e.g., case Enum.INT_NODE_ENTER
                 * Enum.forString(s); // returns the enum value for a string
                 * Enum.forInt(i); // returns the enum value for an int
                 * </pre>
                 * Enumeration objects are immutable singleton objects that
                 * can be compared using == object equality. They have no
                 * public constructor. See the constants defined within this
                 * class for all the valid values.
                 */
                static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
                {
                    /**
                     * Returns the enum value for a string, or null if none.
                     */
                    public static Enum forString(java.lang.String s)
                        { return (Enum)table.forString(s); }
                    /**
                     * Returns the enum value corresponding to an int, or null if none.
                     */
                    public static Enum forInt(int i)
                        { return (Enum)table.forInt(i); }
                    
                    private Enum(java.lang.String s, int i)
                        { super(s, i); }
                    
                    static final int INT_NODE_ENTER = 1;
                    static final int INT_NODE_LEAVE = 2;
                    static final int INT_PROCESS_START = 3;
                    static final int INT_PROCESS_END = 4;
                    static final int INT_TASK_CREATE = 5;
                    static final int INT_TASK_ASSIGN = 6;
                    static final int INT_TASK_START = 7;
                    static final int INT_TASK_END = 8;
                    static final int INT_BEFORE_SIGNAL = 9;
                    static final int INT_AFTER_SIGNAL = 10;
                    static final int INT_SUPERSTATE_ENTER = 11;
                    static final int INT_SUPERSTATE_LEAVE = 12;
                    static final int INT_TIMER_CREATE = 13;
                    static final int INT_SUBPROCESS_CREATED = 14;
                    static final int INT_SUBPROCESS_END = 15;
                    
                    public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                        new org.apache.xmlbeans.StringEnumAbstractBase.Table
                    (
                      new Enum[]
                      {
                        new Enum("node-enter", INT_NODE_ENTER),
                        new Enum("node-leave", INT_NODE_LEAVE),
                        new Enum("process-start", INT_PROCESS_START),
                        new Enum("process-end", INT_PROCESS_END),
                        new Enum("task-create", INT_TASK_CREATE),
                        new Enum("task-assign", INT_TASK_ASSIGN),
                        new Enum("task-start", INT_TASK_START),
                        new Enum("task-end", INT_TASK_END),
                        new Enum("before-signal", INT_BEFORE_SIGNAL),
                        new Enum("after-signal", INT_AFTER_SIGNAL),
                        new Enum("superstate-enter", INT_SUPERSTATE_ENTER),
                        new Enum("superstate-leave", INT_SUPERSTATE_LEAVE),
                        new Enum("timer-create", INT_TIMER_CREATE),
                        new Enum("subprocess-created", INT_SUBPROCESS_CREATED),
                        new Enum("subprocess-end", INT_SUBPROCESS_END),
                      }
                    );
                    private static final long serialVersionUID = 1L;
                    private java.lang.Object readResolve() { return forInt(intValue()); } 
                }
                
                /**
                 * A factory class with static methods for creating instances
                 * of this type.
                 */
                
                public static final class Factory
                {
                    public static x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member2 newValue(java.lang.Object obj) {
                      return (x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member2) type.newValue( obj ); }
                    
                    public static x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member2 newInstance() {
                      return (x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member2) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                    
                    public static x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member2 newInstance(org.apache.xmlbeans.XmlOptions options) {
                      return (x2.orgJpdl3.jbpm.EventDocument.Event.Type.Member2) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
                    
                    private Factory() { } // No instance of this class allowed
                }
            }
            
            /**
             * A factory class with static methods for creating instances
             * of this type.
             */
            
            public static final class Factory
            {
                public static x2.orgJpdl3.jbpm.EventDocument.Event.Type newValue(java.lang.Object obj) {
                  return (x2.orgJpdl3.jbpm.EventDocument.Event.Type) type.newValue( obj ); }
                
                public static x2.orgJpdl3.jbpm.EventDocument.Event.Type newInstance() {
                  return (x2.orgJpdl3.jbpm.EventDocument.Event.Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                
                public static x2.orgJpdl3.jbpm.EventDocument.Event.Type newInstance(org.apache.xmlbeans.XmlOptions options) {
                  return (x2.orgJpdl3.jbpm.EventDocument.Event.Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
                
                private Factory() { } // No instance of this class allowed
            }
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static x2.orgJpdl3.jbpm.EventDocument.Event newInstance() {
              return (x2.orgJpdl3.jbpm.EventDocument.Event) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static x2.orgJpdl3.jbpm.EventDocument.Event newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (x2.orgJpdl3.jbpm.EventDocument.Event) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static x2.orgJpdl3.jbpm.EventDocument newInstance() {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static x2.orgJpdl3.jbpm.EventDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.EventDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.EventDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.EventDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
